package com.ruoyi.primer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 引物信息对象 primer
 * 
 * @author dongke
 * @date 2024-01-22
 */
public class Primer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long id;

    /** 引物名称 */
    @Excel(name = "引物名称")
    private String primerName;

    /** 引物序列（5-3） */
    @Excel(name = "引物序列", readConverterExp = "5=-3")
    private String sequence;

    /** 5端修饰类型 */
    @Excel(name = "5端修饰类型")
    private String modified5;

    /** 纯化方式 */
    @Excel(name = "纯化方式")
    private String purification;

    /** 试剂盒名称 */
    @Excel(name = "试剂盒名称")
    private String kitName;

    /** 基因座名称 */
    @Excel(name = "基因座名称")
    private String lociName;

    /** 数据创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 数据最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModified;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPrimerName(String primerName) 
    {
        this.primerName = primerName;
    }

    public String getPrimerName() 
    {
        return primerName;
    }
    public void setSequence(String sequence) 
    {
        this.sequence = sequence;
    }

    public String getSequence() 
    {
        return sequence;
    }
    public void setModified5(String modified5) 
    {
        this.modified5 = modified5;
    }

    public String getModified5() 
    {
        return modified5;
    }
    public void setPurification(String purification) 
    {
        this.purification = purification;
    }

    public String getPurification() 
    {
        return purification;
    }
    public void setKitName(String kitName) 
    {
        this.kitName = kitName;
    }

    public String getKitName() 
    {
        return kitName;
    }
    public void setLociName(String lociName) 
    {
        this.lociName = lociName;
    }

    public String getLociName() 
    {
        return lociName;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("primerName", getPrimerName())
            .append("sequence", getSequence())
            .append("modified5", getModified5())
            .append("purification", getPurification())
            .append("kitName", getKitName())
            .append("lociName", getLociName())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .toString();
    }
}
